import { Component } from '@angular/core';
import { Router } from '@angular/router';

@Component({
  selector: 'page-footer',
  templateUrl: './footer.component.html',
  styleUrls: ['./footer.component.scss']
})
export class FooterComponent {
   constructor(private router: Router){}
   do():void{
    this.router.navigateByUrl('play')
   }
   find():void{
    this.router.navigateByUrl('page/find')
   }
   podcast():void{
    this.router.navigateByUrl('page/podcast')
   }

   my():void{
    this.router.navigateByUrl('page/my')
   }
   community():void{
    this.router.navigateByUrl('page/community')
   }
   follow():void{
    this.router.navigateByUrl('page/follow')
   }
}
